<div class="content">
 <!--*****************  LEFT  *****************-->
      <div class="columnLeft">
          <div class="content">
              <!--*****************  MENU  *****************-->
              <div class="contentMenu">

                  <div class="contentMenuItems">
                      <ul>
                          <li class="contentMenuTitle"><?php __('Actions');?></li>
                          <li class="contentMenuSeparator"></li>
                         <li><?php echo $this->Html->link(__('Edit Jobprofile', true), array('action' => 'edit', $jobprofile['Jobprofile']['id'])); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('Delete Jobprofile', true), array('action' => 'delete', $jobprofile['Jobprofile']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $jobprofile['Jobprofile']['id'])); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('List Jobprofiles', true), array('action' => 'index')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('New Jobprofile', true), array('action' => 'add')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('List Securitygroups', true), array('controller' => 'securitygroups', 'action' => 'index')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('New Securitygroup', true), array('controller' => 'securitygroups', 'action' => 'add')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('List Tools', true), array('controller' => 'tools', 'action' => 'index')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('New Tool', true), array('controller' => 'tools', 'action' => 'add')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li><li class="contentMenuSeparator"></li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
                          <li class="contentMenuSeparator"></li>
                          <li class="contentMenuBottom"></li>
                      </ul>
                  </div>

              </div>
          </div>
      </div>
<!--*****************  RIGHT  *****************-->
      <div class="columnRight">
          <div class="content">
              <div class="contentCenter">
                  <div class="content">
                      <h2><?php  __('Jobprofile');?></h2>
                      <table class="showFields">


		<tr><th><?php __('Id'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['id']; ?>

		</td></tr>
		<tr><th><?php __('Title'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['title']; ?>

		</td></tr>
		<tr><th><?php __('Code'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['code']; ?>

		</td></tr>
		<tr><th><?php __('Subfunction'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['subfunction']; ?>

		</td></tr>
		<tr><th><?php __('Family'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['family']; ?>

		</td></tr>
		<tr><th><?php __('File'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['file']; ?>

		</td></tr>
		<tr><th><?php __('Description'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['description']; ?>

		</td></tr>
		<tr><th><?php __('Created'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['created']; ?>

		</td></tr>
		<tr><th><?php __('Modified'); ?></th>
		<td>
			<?php echo $jobprofile['Jobprofile']['modified']; ?>

		</td></tr>

                      </table>
                  </div>
              </div>
          </div>
      </div>


 </div>
<div class="clear"></div>

<div class="contentCenter">
  <h2 class="showNextDiv pointer"><?php  __('Related'); ?></h2>
  <div class="isHidden">
<div class="related">
	<h3><?php __('Related Securitygroups');?></h3>
	<?php if (!empty($jobprofile['Securitygroup'])):?>
	<table class="formstatus">
            <thead>
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Localization'); ?></th>
		<th><?php __('Composite Role'); ?></th>
		<th><?php __('Jobprofiles Nb'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
        </tr></thead><tbody>
	<?php
		$i = 0;
		foreach ($jobprofile['Securitygroup'] as $securitygroup):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $securitygroup['id'];?></td>
			<td><?php echo $securitygroup['title'];?></td>
			<td><?php echo $securitygroup['localization'];?></td>
			<td><?php echo $securitygroup['composite_role'];?></td>
			<td><?php echo $securitygroup['jobprofiles_nb'];?></td>
			<td><?php echo $securitygroup['description'];?></td>
			<td><?php echo $securitygroup['created'];?></td>
			<td><?php echo $securitygroup['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'securitygroups', 'action' => 'view', $securitygroup['id']),array('class'=>'details')); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'securitygroups', 'action' => 'edit', $securitygroup['id']),array('class'=>'edit')); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'securitygroups', 'action' => 'delete', $securitygroup['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $securitygroup['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody></table>
<?php endif; ?>

	<div class="showNextBtn"><?php echo $this->Html->link(__('New Securitygroup', true), array('controller' => 'securitygroups', 'action' => 'add'));?></div>
</div>
<div class="related">
	<h3><?php __('Related Tools');?></h3>
	<?php if (!empty($jobprofile['Tool'])):?>
	<table class="formstatus">
            <thead>
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Responsability'); ?></th>
		<th><?php __('Administrator'); ?></th>
		<th><?php __('Admin Mail'); ?></th>
		<th><?php __('Perimeter'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr></thead><tbody>
	<?php
		$i = 0;
		foreach ($jobprofile['Tool'] as $tool):
			$class = null;
				if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tool['id'];?></td>
			<td><?php echo $tool['title'];?></td>
			<td><?php echo $tool['responsability'];?></td>
			<td><?php echo $tool['administrator'];?></td>
			<td><?php echo $tool['admin_mail'];?></td>
			<td><?php echo $tool['perimeter'];?></td>
			<td><?php echo $tool['description'];?></td>
			<td><?php echo $tool['created'];?></td>
			<td><?php echo $tool['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tools', 'action' => 'view', $tool['id']),array('class'=>'details')); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tools', 'action' => 'edit', $tool['id']),array('class'=>'edit')); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tools', 'action' => 'delete', $tool['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $tool['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody></table>
<?php endif; ?>

	<div class="showNextBtn"><?php echo $this->Html->link(__('New Tool', true), array('controller' => 'tools', 'action' => 'add'));?></div>
</div>
<div class="related">
	<h3><?php __('Related Users');?></h3>
	<?php if (!empty($jobprofile['User'])):?>
	<table class="formstatus">
            <thead>
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Surname'); ?></th>
                <th class="actions"><?php __('Actions');?></th>
		<th><?php __('Id Code'); ?></th>
		<th><?php __('Id Erp'); ?></th>
		<th><?php __('Id Win'); ?></th>
		<th><?php __('Id Hr'); ?></th>
		<th><?php __('Backup Id'); ?></th>
		<th><?php __('Manager Id'); ?></th>
		<th><?php __('Hrreferent Id'); ?></th>
		<th><?php __('Contract Begin'); ?></th>
		<th><?php __('Contract End'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th><?php __('Jobfunction Id'); ?></th>
		<th><?php __('Jde User'); ?></th>
		<th><?php __('Baali User'); ?></th>
		<th><?php __('Securitygroup Id'); ?></th>
		<th><?php __('Company Id'); ?></th>
		<th><?php __('Group Id'); ?></th>
		<th><?php __('Mail'); ?></th>
		<th><?php __('Username'); ?></th>
		<th><?php __('Password'); ?></th>
		<th><?php __('Notes'); ?></th>
		<th><?php __('Backup Of'); ?></th>
		<th><?php __('Replace'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr></thead><tbody>
	<?php
		$i = 0;
		foreach ($jobprofile['User'] as $user):
			$class = null;
				if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $user['id'];?></td>
			<td><?php echo $user['name'];?></td>
			<td><?php echo $user['surname'];?></td>
                        <td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'users', 'action' => 'view', $user['id']),array('class'=>'details')); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'users', 'action' => 'edit', $user['id']),array('class'=>'edit')); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'users', 'action' => 'delete', $user['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $user['id'])); ?>
			</td>
			<td><?php echo $user['id_code'];?></td>
			<td><?php echo $user['id_erp'];?></td>
			<td><?php echo $user['id_win'];?></td>
			<td><?php echo $user['id_hr'];?></td>
			<td><?php echo $user['backup_id'];?></td>
			<td><?php echo $user['manager_id'];?></td>
			<td><?php echo $user['hrreferent_id'];?></td>
			<td><?php echo $user['contract_begin'];?></td>
			<td><?php echo $user['contract_end'];?></td>
			<td><?php echo $user['status_id'];?></td>
			<td><?php echo $user['jobfunction_id'];?></td>
			<td><?php echo $user['jde_user'];?></td>
			<td><?php echo $user['baali_user'];?></td>
			<td><?php echo $user['securitygroup_id'];?></td>
			<td><?php echo $user['company_id'];?></td>
			<td><?php echo $user['group_id'];?></td>
			<td><?php echo $user['mail'];?></td>
			<td><?php echo $user['username'];?></td>
			<td><?php echo $user['password'];?></td>
			<td><?php echo $user['notes'];?></td>
			<td><?php echo $user['backup_of'];?></td>
			<td><?php echo $user['replace'];?></td>
			<td><?php echo $user['created'];?></td>
			<td><?php echo $user['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'users', 'action' => 'view', $user['id']),array('class'=>'details')); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'users', 'action' => 'edit', $user['id']),array('class'=>'edit')); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'users', 'action' => 'delete', $user['id']),array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $user['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody></table>
<?php endif; ?>

	<div class="showNextBtn"><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add'));?> </div>
</div>
</div>
  </div>

